package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/27 0027.
 * 合同时间数据类
 */

public class ContractTimeModel implements IModel,Serializable{


    /**
     * state : 9
     * info :
     * pTaContractDateListDto : [{"serial":1,"grade":1,"beginDate":"2017-05-01","endDate":"2019-05-01"}]
     */

    private int state;
    private String info;
    private List<PTaContractDateListDtoBean> pTaContractDateListDto;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PTaContractDateListDtoBean> getPTaContractDateListDto() {
        return pTaContractDateListDto;
    }

    public void setPTaContractDateListDto(List<PTaContractDateListDtoBean> pTaContractDateListDto) {
        this.pTaContractDateListDto = pTaContractDateListDto;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class PTaContractDateListDtoBean {
        public PTaContractDateListDtoBean(int serial, int grade, String beginDate, String endDate) {
            this.serial = serial;
            this.grade = grade;
            this.beginDate = beginDate;
            this.endDate = endDate;
        }

        /**
         * serial : 1
         * grade : 1
         * beginDate : 2017-05-01
         * endDate : 2019-05-01
         */



        private int serial;
        private int grade;
        private String beginDate;
        private String endDate;

        public int getSerial() {
            return serial;
        }

        public void setSerial(int serial) {
            this.serial = serial;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public String getBeginDate() {
            return beginDate;
        }

        public void setBeginDate(String beginDate) {
            this.beginDate = beginDate;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }
    }
}
